package com.hnl.dao;

import java.util.Collection;
import java.util.Map;

import com.hnl.to.Misc;

public interface MiscDAO {

	public Misc saveMisc(Misc misc);

	public Misc loadMisc(Integer miscID);
	
	public Misc loadMiscByMiscNameAndType(String miscName, String miscTypeName);

	public Collection<Misc> loadMiscByMiscTypeName(String miscTypeName);

	public Map<Integer, String> loadMiscNameByMiscTypeName(String miscTypeName);

	public void updateMisc(Misc misc);

	// public void delMisc(Integer miscID);
}
